Skip to content

Conversation

@neptune2
Copy link
Contributor

Hi Daniel,

Here is the WeatherStationDemoExtendedDST example for inclusion in the library. This is mostly the same code as https://github.com/neptune2/esp8266-weather-station-oled-DST but moved into the examples directory and renamed. Recent improvements include a settings.h file and #defines to support both SPI and I2C version of the SSD1306 display. I have verified that this works with both interface versions of the display.

Specific customizations include:

  • Added Wifi Splash screen and credit to Squix78
  • Modified progress bar to a thicker and symmetrical shape
  • Replaced TimeClient with built-in lwip sntp client (no need for external ntp client library)
  • Added Daylight Saving Time Auto adjuster with DST rules using simpleDSTadjust library
  • Added Locale Setting examples for Boston, Zurich and Sydney
    • Selectable NTP servers for each locale
    • DST rules and timezone settings customizable for each locale
    • See https://www.timeanddate.com/time/change/ for DST rules
    • Added AM/PM or 24-hour option for each locale
    • Added metric settings for each locale
  • Changed Clock screen to 7-segment font from http://www.keshikan.net/fonts-e.html
  • Added Forecast screen for days 4-6
    • includes a one line update to WundergroundClient.h to support 6 days of forecasts
  • Added support for DHT22, DHT21 and DHT11 Indoor Temperature and Humidity Sensors
    • Verified on a DHT22 and DHT11 sensors
  • Fixed bug preventing display.flipScreenVertically() from working (removed double ui init)
  • Slight adjustments to overlay
  • Moved user settings into settings.h
  • Added #defines in settings.h to make it easier to select SPI or I2C interface for OLED in settings.h

Additional required library for automatic Daylight Saving Time adjust

Regards,
Neptune

@squix78 squix78 merged commit e417ae2 into ThingPulse:master Nov 24, 2016
@squix78
Copy link
Collaborator

squix78 commented Nov 24, 2016

Hi Neptune

Wonderful code and many thanks for creating a pull request!

Regards,
Daniel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants